#include "DeadProxyClientEvent.h"
ClientEvent::ClientEvent(int identifier)
{
    str1 = 0;
    str2 = 0;
    str3 = 0;
    str4 = 0;
    id = identifier;
}

ClientEvent * ClientEvent::CloneEvent()
{
    ClientEvent * Clone = new ClientEvent(this->id);
    Clone->SetParam1(this->param1);
    Clone->SetParam2(this->param2);
    Clone->SetParam3(this->param3);
    Clone->SetParam4(this->param4);
    Clone->SetParam5(this->param5);
    Clone->SetParam6(this->param6);
    Clone->SetParam7(this->param7);
    Clone->SetParam8(this->param8);
    if(this->str1 != 0)
    {
        wxString * CStr1 = new wxString(*(this->str1));
        Clone->SetStr1(CStr1);
    } else {
        Clone->SetStr1(0);
    }
    if(this->str2 != 0)
    {
        wxString * CStr2 = new wxString(*(this->str2));
        Clone->SetStr2(CStr2);
    } else {
        Clone->SetStr2(0);
    }
    if(this->str3 != 0)
    {
        wxString * CStr3 = new wxString(*(this->str3));
        Clone->SetStr3(CStr3);
    } else {
        Clone->SetStr3(0);
    }
    if(this->str4 != 0)
    {
        wxString * CStr4 = new wxString(*(this->str4));
        Clone->SetStr1(CStr4);
    } else {
        Clone->SetStr4(0);
    }
    return Clone;
}

void ClientEvent::SetID(int identifier)
{
    id = identifier;
}

int ClientEvent::GetID()
{
    return id;
}

void ClientEvent::SetStr1(wxString * str)
{
    str1 = str;
}
void ClientEvent::SetStr2(wxString * str)
{
    str2 = str;
}
void ClientEvent::SetStr3(wxString * str)
{
    str3 = str;
}
void ClientEvent::SetStr4(wxString * str)
{
    str4 = str;
}
wxString * ClientEvent::GetStr1()
{
    return str1;
}
wxString * ClientEvent::GetStr2()
{
    return str2;
}
wxString * ClientEvent::GetStr3()
{
    return str3;
}
wxString * ClientEvent::GetStr4()
{
    return str4;
}

void ClientEvent::SetParam1(int param)
{
    param1 = param;
}
void ClientEvent::SetParam2(int param)
{
    param2 = param;
}
void ClientEvent::SetParam3(int param)
{
    param3 = param;
}
void ClientEvent::SetParam4(int param)
{
    param4 = param;
}
void ClientEvent::SetParam5(int param)
{
    param5 = param;
}
void ClientEvent::SetParam6(int param)
{
    param6 = param;
}
void ClientEvent::SetParam7(int param)
{
    param7 = param;
}
void ClientEvent::SetParam8(int param)
{
    param8 = param;
}

int ClientEvent::GetParam1()
{
    return param1;
}
int ClientEvent::GetParam2()
{
    return param2;
}
int ClientEvent::GetParam3()
{
    return param3;
}
int ClientEvent::GetParam4()
{
    return param4;
}
int ClientEvent::GetParam5()
{
    return param5;
}
int ClientEvent::GetParam6()
{
    return param6;
}
int ClientEvent::GetParam7()
{
    return param7;
}
int ClientEvent::GetParam8()
{
    return param8;
}

ClientEvent::~ClientEvent()
{
    if(str1 != 0)
    {
        delete str1;
    }
    if(str2 != 0)
    {
        delete str2;
    }
    if(str3 != 0)
    {
        delete str3;
    }
    if(str4 != 0)
    {
        delete str4;
    }
}
